Skip to main content
Internet Archive's 25th Anniversary Logo

View Post [edit]

Poster: Adonay Felipe Nogueira Date: Apr 23, 2017 10:22am
Forum: general Subject: Please free the JavaScript being forced to average visitors

Hi everyone! It's been a long time since I last used Internet Archive and the WayBack Machine.

I have a suggestion to make: Can the Internet Archive developers please free the --- assumedly non-free --- software being forced to the visitors?

This is needed because computer programs only exist because someone wrote them, however, computers only understand 0s and 1s, and the person receiving the program has to trust the computer to do the right thing, but a computer doesn't question what a program does, it only obeys what is written there, so this opens space for effects undesirable to society. This is why all computer programs must give society the freedoms to use --- both the original and the adaptations ---; study and adapt; share and sell --- both the original and the adaptations.

Now, in the Internet Archive's case, visitors (here considered average ones, that is, those which don't have any script blocker enabled) are being forced to run non-free software automatically.

For this case, the GNU LibreJS project (and browser extension) exists, which, for the visitor, it blocks non-free software and tells what can be done and tries to find who to contact. For the developers, the project also provides a community that can help solve these issues, and even if the members are not developers, they alredy know which basic things must be done.

This is a related discussion in the Trisquel forums: https://trisquel.info/en/forum/you-cannot-watch-youtube-libre-software-computer#comment-112593

Paragraph for developers: To know what can be done to fix this, see: https://www.gnu.org/software/librejs/free-your-javascript.html and also https://www.gnu.org/software/librejs/manual/html_node/Setting-Your-JavaScript-Free.html

Here is the report generated by GNU LibreJS when visiting https://archive.org/details/Sintel. Please ignore the "Whitelist" lines.

# Begin of GNU LibreJS report

List of accepted JavaScript in https://archive.org/details/Sintel

This script is free according to a JS Web Labels page visited recently (at https://weblabels.fsf.org/libreplanet.org/CURRENT/index.html# )
https://archive.org/includes/jquery-1.10.2.min.js?v1.10.2

List of blocked JavaScript in https://archive.org/details/Sintel

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
window.archive_setup=[]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts

function initialize_flag(){
// overlay related
$(".toggle-flag-overlay").click(function(e){
e.preventDefault();
$("#theatre-ia-wrap").removeClass("flagged");
});

// overlay - checkboxes
$("#flag-checkboxes a").on("click", function(e){
e.preventDefault();
$(this).children(".my-checkbox").toggleClass("checked");
$.get($(this).attr("href"))
});


}
$(initialize_flag());


Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts

archive_setup.push(function(){
AJS.tilebars(); // page load
$(window).on('resize orientationchange', function(evt){
$.doTimeout('also-found-'+evt.type, 250, AJS.tilebars);
});
});


Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts

archive_setup.push(function(){
Play('jw6',
[{"title":"1. Sintel (stereo)","orig":"sintel-2048-stereo.mp4","image":"/download/Sintel/Sintel.thumbs%2Fsintel-2048-stereo_000030.jpg","duration":"888.06","sources":[{"file":"/download/Sintel/sintel-2048-stereo_512kb.mp4","type":"mp4","height":"240","width":"564","label":"240p"},{"file":"/download/Sintel/sintel-2048-stereo.mp4","type":"mp4","height":"872","width":"2048","label":"872p HD"},{"file":"/download/Sintel/sintel-2048-stereo.ogv","type":"ogg","height":"304","width":"704","label":"304p"}],"tracks":[{"file":"https://archive.org/stream/Sintel/Sintel.thumbs/sintel-2048-stereo_000030.jpg&vtt=vtt.vtt","kind":"thumbnails"}]},
{"title":"2. Sintel (5.1 surround)","orig":"sintel-2048-surround.mp4","image":"/download/Sintel/Sintel.thumbs%2Fsintel-2048-surround_000030.jpg","duration":"888.06","sources":[{"file":"/download/Sintel/sintel-2048-surround.mp4","type":"mp4","height":"872","width":"2048","label":"872p HD"},{"file":"/downl…

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts

if (window.archive_analytics) {
var vs = window.archive_analytics.get_data_packets();
for (var i in vs) {
vs[i]['cache_bust']=Math.random();
vs[i]['server_ms']=753;
vs[i]['server_name']="www29.us.archive.org";
vs[i]['service']='ao_2';
}

if ($(".more_search").size()>0) {
window.archive_analytics.send_scroll_fetch_base_event();
}
}

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"$(this).css('padding-left','').parent().find('.iconochive-search').hide()"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"$(this).parents('#nav-search').find('form').submit(); return false"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"jwplayer('jw6').setFullscreen()"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"return AJS.flash_click(0)"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"return AJS.mute_click()"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"return AJS.modal_go(this,{favorite:1})"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"return AJS.modal_go(this,{ignore_lnk:1,shown:AJS.embed_codes_adjust})"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"return AJS.quick_down('quickdown1',this)"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"return AJS.quick_down('quickdown1')"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"return AJS.quick_down('quickdown4',this)"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"return AJS.quick_down('quickdown4')"}]

Whitelist

This script is detected as inline, nonfree, defining functions or methods, and the rest of the page as loading external scripts
[{"attribute":"onclick","value":"$(this).find('span').toggle();$('#cotiles').slideToggle('slow');return false"}]

WhitelistThis script is detected as nonfree, external, and as defining functions or methods
https://archive.org/includes/analytics.js?v=1a4ce02
WhitelistNONTRIVIAL: eval has been found in code
https://archive.org/includes/bootstrap.min.js?v3.0.0
Whitelisterror parsing: f5f61c92882801bb11da265e5eab212dce02f9be
https://archive.org/includes/node_modules/react/dist/react.js?v15.1.0
Whitelisterror parsing: e5921ef0a8cb5e44732187d4fbb1151c09b22033
https://archive.org/includes/node_modules/react-dom/dist/react-dom.js?v15.1.0
WhitelistThis script is detected as nonfree, external, and as defining functions or methods
https://archive.org/includes/playset.min.js?v=1a4ce02
WhitelistNONTRIVIAL: square bracket suffix method call detected
https://archive.org/includes/archive.min.js?v=1a4ce02
WhitelistNONTRIVIAL: innerHTML identifier
https://archive.org/jw/6.8/jwplayer.js?v6.8
WhitelistThis script is detected as nonfree, external, and as defining functions or methods
https://archive.org/includes/play.min.js?v=1a4ce02
# End of GNU LibreJS report